package com.chinaunicom.group.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.dao.support.DaoSupport;
import org.springframework.stereotype.Service;

import com.chinaunicom.group.dao.GroupBeanMapper;
import com.chinaunicom.group.model.GroupBean;
import com.chinaunicom.group.service.IGroupBeanService;
@Service
public class GroupBeanServiceImpl implements IGroupBeanService {

	@Resource
	GroupBeanMapper dao;
	
	@Override
	public int insert(GroupBean record) {

		return dao.insert(record);
	}

	@Override
	public int insertSelective(GroupBean record) {

		return 0;
	}
	
	@Override
	public List<GroupBean> queryAll(GroupBean record){
		return dao.queryAll(record);
	}

	@Override
	public GroupBean queryByid(int id) {
		// TODO Auto-generated method stub
		return dao.queryByid(id);
	}

	@Override
	public void groupdelete(int id) {
		// TODO Auto-generated method stub
		dao.groupdelete(id);		
	}

	@Override
	public void groupupdatesubmit(GroupBean groupBean) {
		// TODO Auto-generated method stub
		dao.groupupdatesubmit(groupBean);
	}

	@Override
	public List<GroupBean> advancedSearch(GroupBean groupBean) {
		// TODO Auto-generated method stub
		return dao.advancedSearch(groupBean);
	}
	
	
}
